Skip to content

Llm feature flag & memberlist caching - #59

Merged
Sharkwald merged 4 commits into
mainfrom
llm-feature-flag
Mar 19, 2026
Merged

Llm feature flag & memberlist caching#59
Sharkwald merged 4 commits into
mainfrom
llm-feature-flag

Conversation

@Sharkwald

Copy link
Copy Markdown
Owner

Ensures the LLM integration flag is now controllable at runtime.
Adds a cache around the MemberRepository to reduce DB roundtrips

Because the "@bottomly" would be tokenised by slack, we need to lookup
using the member repo. However, this would introduce a LOT of lookups
and I always had vague thoughts of caching the member repo anyway. This
commit adds memory caching to the member repo which is warmed at app
startup. This way all the token replacements should be signficantly
faster as all calls for member data should be obviated.
@Sharkwald
Sharkwald merged commit 1d0c37d into main Mar 19, 2026
2 checks passed
@Sharkwald
Sharkwald deleted the llm-feature-flag branch March 19, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant